<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="deviceTypeList" checkbox="false" fitColumns="true" title="我的留言" actionUrl="messageBoardController.do?myListdatagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="留言时间"  field="createDate" formatter="yyyy-MM-dd hh:mm" queryMode="group"  query='false' width="40"></t:dgCol> 
   <t:dgCol title="留言内容"  field="content"    queryMode="single"  width="200" ></t:dgCol>
   <t:dgCol title="回复人"  field="responseUser.realName"  queryMode="single"  width="100"></t:dgCol>
   <t:dgCol title="留言回复"  field="responseDesc"  queryMode="single"  width="200"></t:dgCol> 
<%--    <t:dgCol title="操作" field="opt" width="40"></t:dgCol> --%>
<%--    <t:dgDelOpt title="删除" url="messageBoardController.do?doDel&id={id}" /> --%>

  </t:datagrid>
  </div>
 </div>
 <script src = "webpage/com/mengtian_tech/device_mgr/device/deviceTypeList.js"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#deviceTypeListtb").find("input[name='createDate_begin']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#deviceTypeListtb").find("input[name='createDate_end']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 }); 
 

//导出
function ExportXls() {
	JeecgExcelExport("messageBoardController.do?exportXls","deviceTypeList");
} 
 
 
 </script>